package com.peng.test.api.impl;

import com.peng.rpc.annotation.Service;
import com.peng.rpc.api.LoveService;
import com.peng.rpc.api.LoverArg;
import lombok.extern.slf4j.Slf4j;

/**
 * 东方伶人赛高
 * @author Wonderson
 * @email wpp.ds@foxmail.com
 * @date 2022/3/7 19:10
 */
@Slf4j
@Service
public class LoverImpl implements LoveService {

    @Override
    public LoverArg.Lover marry(LoverArg loverArg) {
        log.info("虽然都很漂亮：{}, 但是我只选择东方！", loverArg);
        return loverArg.getLover("yandere");
    }
}
